package com.fulihui.information.dal.dataobj;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import java.util.Date;

import static com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant.DATETIME;
import static com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant.VARCHAR;

@Table("info_content_comments_praise")

public class InfoContentCommentsPraise {
    @Column(name = "comment_id", type = VARCHAR)
    private String commentId;

    @Column(name = "user_id", type = VARCHAR)
    private String userId;

    @Column(name = "content_id", type = VARCHAR)
    private String contentId;

    @Column(name = "gmt_create", type = DATETIME)
    private Date gmtCreate;

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId == null ? null : commentId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getContentId() {
        return contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = contentId == null ? null : contentId.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}